#ifndef JITEMCONTAINER_H
#define JITEMCONTAINER_H

#include <QTEGui/jscrollareauvlmengine.h>

class QLabel;
class QAbstractItemView;

namespace QTE
{

class JItemContainerPrivate;

class QTEGUI_EXPORT JItemContainer : public JScrollAreaUVLMEngine
{
public:
	explicit JItemContainer(QAbstractItemView *itemView);
	virtual ~JItemContainer() = 0;

public:
	enum MsgLabelMode
	{
		Auto,
		AlwayShow,
		AlwayHide,
	};

public:
	virtual void setMessageLabelMode(MsgLabelMode mode);
	virtual void setMessageLabel(QLabel *label);

public:
	MsgLabelMode messageLabelMode() const;
	const QLabel *messageLabel() const;
    QLabel *messageLabel();

private:
	JItemContainerPrivate *d_ptr;
};

} //namespace QTE


#endif //JITEMCONTAINER_H
